package BehavioralPatterns.Visitor;

public class Test {
  public static void main(String[] args) {
    ObjectStructure objectStructure = new ObjectStructure();

    objectStructure.attach(new Man());
    objectStructure.attach(new Woman());

    objectStructure.display(new Success());


  }
}
